package com.sjmsks.Jpanels.work;

import com.sjmsks.Jpanels.work.shape.UnSupportShapeException;

import javax.swing.*;
import java.io.IOException;

public class Main {
	public static void main(String[] args) throws UnSupportShapeException, CloneNotSupportedException, IOException {
		MyFrame frame = new MyFrame("绘图窗口");
		// 这里调用自己写的窗口类
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setSize(1200, 600);// 设置窗口的大小
		frame.setLocationRelativeTo(null); // 设置窗口相对于屏幕居中
		frame.setVisible(true);// 设置窗口是否可见
	}
}
